package com.ibeetl.admin.api.entity;

import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import lombok.Data;
import org.beetl.sql.annotation.entity.AutoID;
import javax.validation.constraints.NotNull;
import java.sql.Blob;
import java.util.Date;

//景点路线
@Data
public class Travel_attractions_line extends BaseEntity {
    @NotNull(message = "不能为空", groups = ValidateConfig.UPDATE.class)
    @AutoID
    private Long attractionId        ;
    private String attractionTitle  ;
    private String attractionDesc   ;
//    private String pictureAddressA   ;
    private String pictureAddress1;
    private String pictureAddress2   ;
    private String pictureAddress3   ;
    private String pictureAddress4   ;
    @NotNull(message = "不能为空", groups = ValidateConfig.ADD.class)
    @NotNull(message = "不能为空", groups = ValidateConfig.UPDATE.class)
    private Integer userId          	 ;
    private int state            	 ;
    private String city;
    private String address_info;
    private Date createDt        	 ;
    private Date updateDt        	 ;
    private Double amount           	     ;
    private Date reviewDt        	 ;
    private int reviewers        	 ;
    private String reviewComments    ;
    private int viewsNum        	 ;
    private int likeNum         	 ;
    private String note              ;


}
